import MeasureItem from './MeasureItem'
const UI = require('./UI')

module.exports = class HeightReport {

  static isEnable(measure) {
    return measure.stature && measure.stature > 0
  }

  static build(measure) {
    const item = new MeasureItem()
    item.name = "身高"
    item.value = measure.stature
    item.unit = "cm"
    item.icon = 'report_stature.png'
    item.showBar = false
    return item
  }

}

